import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class App {
    @Autowired
    private static Environment environment;
    public static void main(String[] args) {
        System.out.println(environment.getProperty("lesson"));

    }
}
